<?php
class Article extends CI_Controller {

    public function __construct(){
        parent::__construct();
        
        //$this->data['recent_news'] = $this->article_m->get_recent();
    }

    public function index(){
    	// Fetch the article
		
		$data['article']=$this->general_model->select_val("post","*","postid =".$this->uri->segment(2));
    	$this->template->content->view('cms/article',$data);
		$this->template->publish();
    }
}